package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.LuntaiIntroduceMapper;
import com.ruoyi.system.domain.LuntaiIntroduce;
import com.ruoyi.system.service.ILuntaiIntroduceService;

/**
 * 信息，比如介绍Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-17
 */
@Service
public class LuntaiIntroduceServiceImpl implements ILuntaiIntroduceService 
{
    @Autowired
    private LuntaiIntroduceMapper luntaiIntroduceMapper;

    /**
     * 查询信息，比如介绍
     * 
     * @param id 信息，比如介绍主键
     * @return 信息，比如介绍
     */
    @Override
    public LuntaiIntroduce selectLuntaiIntroduceById(Integer id)
    {
        return luntaiIntroduceMapper.selectLuntaiIntroduceById(id);
    }

    /**
     * 查询信息，比如介绍列表
     * 
     * @param luntaiIntroduce 信息，比如介绍
     * @return 信息，比如介绍
     */
    @Override
    public List<LuntaiIntroduce> selectLuntaiIntroduceList(LuntaiIntroduce luntaiIntroduce)
    {
        return luntaiIntroduceMapper.selectLuntaiIntroduceList(luntaiIntroduce);
    }

    /**
     * 新增信息，比如介绍
     * 
     * @param luntaiIntroduce 信息，比如介绍
     * @return 结果
     */
    @Override
    public int insertLuntaiIntroduce(LuntaiIntroduce luntaiIntroduce)
    {
        return luntaiIntroduceMapper.insertLuntaiIntroduce(luntaiIntroduce);
    }

    /**
     * 修改信息，比如介绍
     * 
     * @param luntaiIntroduce 信息，比如介绍
     * @return 结果
     */
    @Override
    public int updateLuntaiIntroduce(LuntaiIntroduce luntaiIntroduce)
    {
        return luntaiIntroduceMapper.updateLuntaiIntroduce(luntaiIntroduce);
    }

    /**
     * 批量删除信息，比如介绍
     * 
     * @param ids 需要删除的信息，比如介绍主键
     * @return 结果
     */
    @Override
    public int deleteLuntaiIntroduceByIds(Integer[] ids)
    {
        return luntaiIntroduceMapper.deleteLuntaiIntroduceByIds(ids);
    }

    /**
     * 删除信息，比如介绍信息
     * 
     * @param id 信息，比如介绍主键
     * @return 结果
     */
    @Override
    public int deleteLuntaiIntroduceById(Integer id)
    {
        return luntaiIntroduceMapper.deleteLuntaiIntroduceById(id);
    }
}
